﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace ManageCategoriesProducts
{
    public partial class ConfirmWindow : Window
    {
        private bool delete;

        public ConfirmWindow()
        {
            InitializeComponent();
            this.delete = false;
            this.Top = 200;
            this.Left = 400;
        }

        public bool Delete
        {
            get
            {
                return this.delete;
            }
        }

        private void buttonYes_Click(object sender, RoutedEventArgs e)
        {
            this.delete = true;
            this.Close();
        }

        private void buttonNo_Click(object sender, RoutedEventArgs e)
        {
            this.delete = false;
            this.Close();
        }
    }
}
